<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>GradeList</title>
</head>
<body>

<ul>
    {% for grade in grade_list %}

        <li><a href="/urltest/grades_student/{{ grade.id }}/">{{ grade.g_name }}</a></li>

    {% endfor %}


</ul>

<a href="/urltest/learn">Go learn</a>


{#反向解析#}
<a href="{% url 'urlsnamespace:learn' %}"> go learn</a>

<a href="{% url 'urlsnamespace:get_time' 15 34 38 %}"> go time</a>

<a href="{% url 'urlsnamespace:get_date' year=15 month=34 day=38 %}"> go date</a>

</body>
</html>